package com.qingcheng.pojo.goods;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("tb_category")
public class Category {
    //分类id
    private Integer id;
    //分类名称
    private String name;
    //商品数量
    @TableField("goods_num")
    private Integer goodsNum;

    //是否显示
    @TableField("is_show")
    private String isShow;

    //是否导航
    @TableField("is_menu")
    private String isMenu;

    //排序
    private Integer seq;

    //上级id
    @TableField("parent_id")
    private Integer parentId;

    //模板id
    @TableField("template_id")
    private Integer templateId;
}
